home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / Tools / Text-Viewer / MSWordView / mswordview_src / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-06  |  2.4 KB  |  103 lines

  1. /* config.h.  Generated automatically by configure.  */
  2. /* config.h.in.  Generated automatically from configure.in by autoheader.  */
  3.  
  4. /* Define to empty if the keyword does not work.  */
  5. /* #undef const */
  6.  
  7. /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
  8. #define HAVE_SYS_WAIT_H 1
  9.  
  10. /* Define if you have the wait3 system call.  */
  11. #define HAVE_WAIT3 1
  12.  
  13. /* Define if you have the waitpid system call.  */
  14. /* #undef HAVE_WAITPID */
  15.  
  16. /* Define as the return type of signal handlers (int or void).  */
  17. #define RETSIGTYPE void
  18.  
  19. /* Define if you have the <errno.h> header file.  */
  20. #define HAVE_ERRNO_H 1
  21.  
  22. #define HAVE_POSIX_SIGNALS 1
  23.  
  24. /* Define to `int' if <sys/types.h> doesn't define.  */
  25. /* #undef pid_t */
  26.  
  27. /* Define if you have the ANSI C header files.  */
  28. #define STDC_HEADERS 1
  29.  
  30. /* Define if you have the <fcntl.h> header file.  */
  31. #define HAVE_FCNTL_H 1
  32.  
  33. /* Define if you have the <sys/file.h> header file.  */
  34. #define HAVE_SYS_FILE_H 1
  35.  
  36. /* Define if you have the <sys/ioctl.h> header file.  */
  37. #define HAVE_SYS_IOCTL_H 1
  38.  
  39. /* Define if you have the <unistd.h> header file.  */
  40. #define HAVE_UNISTD_H 1
  41.  
  42. /* Define if you want zlib to uncompress wmf files */
  43. #define SYSTEM_ZLIB 1
  44.  
  45. #if defined(HAVE_SYS_WAIT_H)
  46. #include <sys/wait.h>
  47. #endif
  48.  
  49.  
  50. #if defined (ultrix) && defined (mips) && defined (_POSIX_VERSION)
  51. #  define WAITPID(pid, statusp, options) \
  52. wait3 ((union wait *)statusp, options, (struct rusage *)0)
  53. #else
  54. #  if defined (_POSIX_VERSION) || defined (HAVE_WAITPID)
  55. #    define WAITPID(pid, statusp, options) \
  56. waitpid ((pid_t)pid, statusp, options)
  57. #  else
  58. #    if defined (HAVE_WAIT3)
  59. #      define WAITPID(pid, statusp, options) \
  60. wait3 (statusp, options, (struct rusage *)0)
  61. #    else
  62. #      define WAITPID(pid, statusp, options) \
  63. wait3 (statusp, options, (int *)0)
  64. #    endif /* HAVE_WAIT3 */
  65. #  endif /* !_POSIX_VERSION && !HAVE_WAITPID*/
  66. #endif /* !(Ultrix && mips && _POSIX_VERSION) */
  67.  
  68.  
  69. /*signal things*/
  70. #include <signal.h>
  71.  
  72. #if !defined (HAVE_POSIX_SIGNALS)
  73. #  define signal_handle(sig, handler) signal (sig, handler)
  74. #else
  75. extern void signal_handle();   /* in c code*/
  76. #if !defined (SA_RESTART)
  77. #  define SA_RESTART 0
  78. #endif
  79. #endif /* _POSIX_VERSION */
  80.  
  81. typedef RETSIGTYPE SigHandler ();
  82.  
  83.  
  84. #ifdef HAVE_UNISTD_H
  85. #include <unistd.h>
  86. #endif
  87. #ifdef HAVE_FCNTL_H
  88. #include <fcntl.h>
  89. #endif
  90.  
  91. #if defined(HAVE_ERRNO_H)
  92. #include <errno.h>
  93. #endif
  94.  
  95. #include <sys/types.h>
  96. #include <sys/stat.h>
  97. #include <limits.h>
  98. #include <dirent.h>
  99. #include <stdarg.h>
  100.  
  101. #include <getopt.h>
  102.  
  103.